/**
 * 
 */
package zeroj.web.validator.impl;

/**
 * @author LYL(lylsir at gmail dot com)
 *
 */
public class DomainValidator extends RegexValidator {

	private final static String PATTERN = "^[a-zA-Z0-9][\\w\\.-]*[a-zA-Z0-9]\\.[a-zA-Z][a-zA-Z\\.]*[a-zA-Z]$";
	private static DomainValidator instance = new DomainValidator();
	
	private DomainValidator() {
		super(PATTERN);
	}
	public static DomainValidator getInstance() {
		
		return instance;
	}
}
